package com.huabo.monitor.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.huabo.monitor.entity.TblStaff;
import com.huabo.monitor.mapper.TblStaffMapper;
import com.huabo.monitor.service.ITblStaffService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.math.BigDecimal;

/**
 * <p>
 * 用户表 服务实现类
 * </p>
 *
 * @author yhr
 * @since 2022-08-26
 */
@Service

public class TblStaffServiceImpl extends ServiceImpl<TblStaffMapper, TblStaff> implements ITblStaffService {
    @Resource
    TblStaffMapper  staffMapper;


    @Override
    public void findStaffByOrgid(IPage<TblStaff> page, BigDecimal orgid) {
        staffMapper.findStaffByOrgid(page,orgid);
    }
}
